package com.lantosec.hmrp.modules.system.vo;

import com.lantosec.hmrp.modules.system.entity.SysParameter;
import lombok.AllArgsConstructor;
import lombok.Data;

import java.util.List;

@Data

@AllArgsConstructor
public class LoginVO {
    private SysUserVO user;
    private List<SysParameter> sysParameters;
    private UserAutographVO userAutographVO;
    private List<SysPermissionVO> permissions;
    private List<SysMenusVO> sysMenusVOS;

    public LoginVO(SysUserVO user,List<SysPermissionVO> permissions,List<SysParameter> sysParameters,UserAutographVO userAutographVO){
        this.user = user;
        this.permissions = permissions;
        this.sysParameters = sysParameters;
        this.userAutographVO = userAutographVO;
    }

    public LoginVO(SysUserVO user,List<SysParameter> sysParameters,List<SysMenusVO> sysMenusVOS){
        this.user = user;
        this.sysParameters = sysParameters;
        this.sysMenusVOS = sysMenusVOS;
    }
}
